package dljs.classes;

import java.awt.FlowLayout;
import java.awt.HeadlessException;
import javax.swing.JFrame;

/**
 *
 * @author Ariman
 */
public class Board extends JFrame {
    GamePanel mainPanel;
    

    public Board() throws HeadlessException{
        super("DARK LORD FTANG!!!");
        mainPanel = new GamePanel(new FlowLayout());
        this.add(mainPanel);
        this.setResizable(false);
        this.setSize(((2*GamePanel.base_x)+(7*GamePanel.x_offset)+(8*CardRenderer.CARD_WIDTH)+7+(GamePanel.x_offset*4)),600);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
    }
    
    
}
